package gui.partb;

import java.io.Serializable;

/**
 *
 *
 * @author guodd
 * @version 1.0 use jdk 1.8
 */
public class Student extends Person implements Serializable {
    /**
     * 属性描述：学生id
     */
    private String stuId;

    public Student() {
        super();
    }

    public Student(String stuId, String name, String gender) {
        super(name, gender);
        this.stuId = stuId;
    }

    public String getStuId() {
        return stuId;
    }

    public void setStuId(String stuId) {
        this.stuId = stuId;
    }

    @Override
    public String toString() {
        return this.stuId + " " + super.getName() + " " + super.getGender();
    }
}
